package com.bgrconsulting.stockorderentry.service.converter.response;

import java.util.Date;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.bgrconsulting.stockorderentry.service.model.response.PreviewEquityOrderResponse;

@XmlRootElement(name = "PreviewEquityOrderResponse")
public class PreviewEquityOrderResponseConverter {
	PreviewEquityOrderResponse enity;
	
	public PreviewEquityOrderResponseConverter(PreviewEquityOrderResponse previewEquityOrderResponse) {
		enity = previewEquityOrderResponse;
	}
	
	@XmlElement(name = "equityOrderResponse")
	public EquityOrderResponseConverter getEquityOrderResponse() {
		EquityOrderResponseConverter equityOrderResponseConverter = new EquityOrderResponseConverter(enity.getEquityOrderResponse());
		return equityOrderResponseConverter;
	}
}
